Skip to content

Derive PartialEq and Eq for AsyncPaymentsRole#904

Merged
tnull merged 1 commit into
lightningdevkit:mainfrom
benthecarman:eq-async-payments-role
May 18, 2026
Merged

Derive PartialEq and Eq for AsyncPaymentsRole#904
tnull merged 1 commit into
lightningdevkit:mainfrom
benthecarman:eq-async-payments-role

Conversation

@benthecarman

Copy link
Copy Markdown
Contributor

In lightningdevkit/ldk-server#208 I needed to use matches! instead of an assert_eq!

Allows callers to compare role values directly, which is useful
in tests and conditional logic gating async payments behavior.
@ldk-reviews-bot

ldk-reviews-bot commented May 14, 2026

Copy link
Copy Markdown

I've assigned @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@ldk-reviews-bot ldk-reviews-bot requested a review from tnull May 14, 2026 20:29

@Camillarhi Camillarhi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ldk-reviews-bot

Copy link
Copy Markdown

🔔 1st Reminder

Hey @tnull! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@tnull tnull left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, why not.

@tnull tnull merged commit 7281b35 into lightningdevkit:main May 18, 2026
32 of 33 checks passed
@benthecarman benthecarman deleted the eq-async-payments-role branch May 18, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants